/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Simulacion;
import Grafos.*;

/**
 *
 * @author Jonathan L.
 * @author Juan Argueta
 */
public class Computadora extends ComponenteRed{
    
    /**
     *
     */
    public Integer tipoComp;
    /**
     *
     */
    public Integer cantPuertos;
    /**
     *
     */
    public String label;
    /**
     *
     */
    public String nombreComp;
    /**
     *
     */
    public boolean isCompu = true;
    
    
    
    /**
     *
     * @param nombreComp
     */
    public Computadora(String nombreComp){
        this.nombreComp = nombreComp;
        cantPuertos = 4;
        label=null;
        
    }
    
    /**
     *
     */
    public Computadora(){
        
    }
    
    /**
     *
     * @param tipoComp
     */
    public void setLabel(Integer tipoComp){
        if(tipoComp==1){
            label="Desktop";
        }else label="Laptop";
    }
    
    //@Override
    //public void getBandas(){
        
    //S}
    
    
}
